package com.tianyue.overlordgame.widget;

import android.content.Context;
import android.util.AttributeSet;

import com.tianyue.overlordgame.widget.roundedimageview.RoundedImageView;


/**
 * $desc
 * 作者：10622 on 2019/1/14 17:49
 * 邮箱：1062258956@qq.com
 */
public class SquareImageView extends RoundedImageView {
    public SquareImageView(Context context) {
        super(context);
    }

    public SquareImageView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public SquareImageView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
    }

    @Override
    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        super.onMeasure(widthMeasureSpec, widthMeasureSpec);
    }
}
